<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="../node_modules/@vue/compiler-dom/dist/compiler-dom.global.js"></script>

  <!-- <script src="https://cdn.bootcdn.net/ajax/libs/vue/3.2.0-beta.6/vue.global.js"></script> -->
</head>
<body>
  <div id="app"></div>
  <script>

    const { baseCompile } = VueCompilerDOM;
    // const ast = baseCompile(`hello`);
    // const ast = baseCompile(`{{ name }}`);
    // const ast = baseCompile(`
    //   大饭店沙发上          
    // <p>   dfasdfsd </p>  
    //  <b></b>
    // `);
    const ast = baseCompile(`
    <div><p> {{name}}</p></div>
    `);
    console.log(ast)

  </script>
</body>
</html>